@extends('admin/layout.app')

@section('title', '日志记录')

@section('content')
    @if($action_list)
    <table class="list_tab">
        <thead>
            <tr>
                <th>编号</th>
                <th>行为名称</th>
                <th>执行者</th>
                <th>备注</th>
                <th>执行时间</th>
            </tr>
        </thead>
        <tbody>
            @foreach($action_list as $item)
                <tr>
                    <td>{{ $item['id'] }}</td>
                    <td>{{ $item['action_name'] }}</td>
                    <td>{{ $item['user_name'] }}</td>
                    <td>{{ $item['content'] }}</td>
                    <td>{{ $item['created_at'] }}</td>
                </tr>
            @endforeach
        </tbody>
    </table>
    {!! $action_list->render() !!}
    @endif
@endsection
